<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script type="text/javascript">
			function fun1(){
				alert(location.href)
			}
			var fun2=function(){
				location.href="https://www.pzhu.cn"
			}
		</script>
	</head>
	<body>
		<button onclick="fun1()">获取网址</button>
		<button onclick="fun2()">跳转PZHU</button>
	</body>
</html>
